<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css选择器</title>
    <style>

       /*标签选择器*/
        p{

            color: lightyellow;
            font-size: 18px;

        }

       /* class选择器*/

        .xing{

            color: aqua;
            font-size: 20px;

        }

    /*  id选择器*/

        #titlex{

            color: blue;
            font-size: 30px;

        }




    </style>

</head>
<body>

<H2 id="titlex">标题</H2>
<div class="xing">邢伟新</div>
<p>邢伟新-iOS开发工程师</p>









</body>
</html>